/**
 * Copyright (c) 2004-2011 All Rights Reserved.
 */
package com.yiren.dbaa.module.common.bean;

import java.io.Serializable;

/**
 * 登录远程服务返回结果对象，用于远程方法返回多个值的情况
 */
public class LoginRemoteBean implements Serializable {

    private static final long serialVersionUID = 1329119947852782962L;

    /*{
        "access_token": "09dcb300-c1e9-4e88-876d-33bbd7f1c3be",
        "token_type": "bearer",
        "refresh_token": "467f7279-09f7-463f-b9c8-5ef8b73ce314",
        "expires_in": 108812,
        "scope": "openid"
    }*/

    private String access_token;  //授权令牌
    private String token_type;    //token类型
    private String refresh_token; //刷新令牌
    private int expires_in;       //失效时间
    private String scope;         //权限范围
    private String error;
    private String error_description; //错误描述

    public String getAccess_token() {
        return access_token;
    }

    public void setAccess_token(String access_token) {
        this.access_token = access_token;
    }

    public String getToken_type() {
        return token_type;
    }

    public void setToken_type(String token_type) {
        this.token_type = token_type;
    }

    public String getRefresh_token() {
        return refresh_token;
    }

    public void setRefresh_token(String refresh_token) {
        this.refresh_token = refresh_token;
    }

    public int getExpires_in() {
        return expires_in;
    }

    public void setExpires_in(int expires_in) {
        this.expires_in = expires_in;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public String getError_description() {
        return error_description;
    }

    public void setError_description(String error_description) {
        this.error_description = error_description;
    }
}

